#coding:utf-8

from urllib import request

wagakiba = "http://www.bilibili.com/video/av2093282/"
wagakiba = "http://www.163.com"
wagakiba = "http://www.cnoil.com/index/yyzsDatas?codes=CONC_OILZ_DINIW_XAU_XAG&_=1476695848877"


html = ""
with request.urlopen(wagakiba) as f:
	html = f.read()
	print("status >>>", f.status, f.reason)
	for k,v in f.getheaders():
		print("%s:%s" % (k,v))

	print("data >>> \n", html.decode("utf-8"))
